local extension = Package:new("ling_tang")
extension.extensionName = "lingling"

extension:loadSkillSkelsByPath("./packages/lingling/pkg/ling_13_tang/skills")

local lishimin = General:new(extension, "lingling__lishimin", "tang", 4)
table.insert(Fk.lords, "lingling__lishimin")
lishimin:addSkills { "lingling__mingshi", "lingling__duomen", "lingling__dishu", "lingling__zhenguan" }
lishimin.endnote = "<br><font color='#a40000'>尔来一百九十载，天下至今歌舞之。"
Fk:loadTranslationTable {
  ["lingling__lishimin"] = "李世民",
  ["#lingling__lishimin"] = "天可汗",
  ["designer:lingling__lishimin"] = "伶",
}

local lijing = General:new(extension, "lingling__lijing", "tang", 4)
lijing:addSkills { "lingling__shenwu" }
lijing.endnote = "<br><font color='#a40000'>兼资文武，出将入相。"
Fk:loadTranslationTable {
  ["lingling__lijing"] = "李靖",
  ["#lingling__lijing"] = "大唐军神",
  ["designer:lingling__lijing"] = "伶",
}

local zhangsunwuji = General:new(extension, "lingling__zhangsunwuji", "tang", 3)
zhangsunwuji:addSkills { "lingling__weifeng", "lingling__moubian", "lingling__shizu" }
zhangsunwuji.endnote = "<br><font color='#a40000'>无忌戚里右族，英冠人杰。"
Fk:loadTranslationTable {
  ["lingling__zhangsunwuji"] = "长孙无忌",
  ["#lingling__zhangsunwuji"] = "凌烟第一功",
  ["designer:lingling__zhangsunwuji"] = "玄蝶&伶",
}

local moubian_skels = require("packages.lingling.pkg.ling_13_tang.skills.moubian_skills.moubian_skills")
for _, skel in ipairs(moubian_skels) do
  table.insert(extension.skill_skels, skel)
end

local libai = General:new(extension, "lingling__libai", "tang", 3)
libai:addSkills { "lingling__yingdui", "lingling__rousui", "lingling__jiushi" }
libai.endnote = "<br><font color='#a40000'>酒入侠胆，诗出仙魄。"
Fk:loadTranslationTable {
  ["lingling__libai"] = "李白",
  ["#lingling__libai"] = "谪仙人",
  ["illustrator:lingling__libai"] = "丫奶",
  ["designer:lingling__libai"] = "伶",
}

local dufu = General:new(extension, "lingling__dufu", "tang", 3)
dufu:addSkills { "lingling__chouguo", "lingling__qilv", "lingling__denggao" }
dufu.endnote = "<br><font color='#a40000'>高浑一气，古今独步。"
Fk:loadTranslationTable {
  ["lingling__dufu"] = "杜甫",
  ["#lingling__dufu"] = "诗圣",
  ["designer:lingling__dufu"] = "伶",
}
local wuzhao = General:new(extension, "lingling__wuzhao", "tang", 3, 3, General.Female)
wuzhao:addSkills { "lingling__zhangfengyu", "lingling__wuzibei" }
wuzhao.endnote = "<br><font color='#a40000'>圣母临朝，龙凤当空。"
Fk:loadTranslationTable {
  ["lingling__wuzhao"] = "武曌",
  ["#lingling__wuzhao"] = "天后",
  ["designer:lingling__wuzhao"] = "伶",
}

local xuerengui = General:new(extension, "lingling__xuerengui", "tang", 4)
xuerengui:addSkills { "lingling__duoqi", "lingling__zhanggong" }
xuerengui.endnote = "<br><font color='#a40000'>弓一弯而天山未定，箭三发而铁勒知归。</font>"
Fk:loadTranslationTable{
  ["lingling__xuerengui"] = "薛仁贵",
  ["#lingling__xuerengui"] = "应梦贤臣",
  ["designer:lingling__xuerengui"] = "伶",
}

return extension
